package wifiunion.com.notice.utils.imageprocess.eneity;

import java.util.List;

/**
 * 
 * @ClassName Folder 
 * @Description TODO 
 * @Version 
 * @Author wifiunion
 * @Creation 2016年6月20日 下午4:00:13 
 * @Mender wifiunion
 * @Modification 2016年6月20日 下午4:00:13 
*
 */
public class Folder {

    public String name;
    public String path;
    public Image cover;
    public List<Image> images;

    @Override
    public boolean equals(Object o) {
        try {
            Folder other = (Folder) o;
            return this.path.equalsIgnoreCase(other.path);
        } catch (ClassCastException e) {
            e.printStackTrace();
        }
        return super.equals(o);
    }
}